import request from '@/utils/request'

export function list(query) {
  return request({
    url: '/app-api/biz/sensorHistoryData/list',
    method: 'get',
    params: query
  })
}

export function getModuleHistoryData(query) {
  return request({
    url: '/report/history/query/userModule',
    method: 'get',
    params: query
  })
}


//单个信息点历史曲线数据
export function getSensorHistorySingleData(query) {
    return request({
        url: '/app-api/biz/sensorHistoryData/single',
        method: 'get',
        params: query
    })
}
